
<%@ page import="br.academia.Secretario" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<g:set var="entityName"
	value="${message(code: 'secretario.label', default: 'Secretario')}" />
<title><g:message code="default.list.label" args="[entityName]" />
</title>
</head>
<body>
	<div class="nav">
		<g:link class="create" action="create">Novo(a) Secretario
		</g:link>
	</div>
	<h1 id="pageName">
		Lista de
		Secretario
	</h1>
	<table class="IadTableList">
		<thead>
			<tr>
				
                            <g:sortableColumn property="id" title="${message(code: 'secretario.id.label', default: 'Id')}" />
                        
                            <g:sortableColumn property="username" title="${message(code: 'secretario.username.label', default: 'Username')}" />
                        
                            <g:sortableColumn property="nome" title="${message(code: 'secretario.nome.label', default: 'Nome')}" />
                        
                            <g:sortableColumn property="telefone" title="${message(code: 'secretario.telefone.label', default: 'Telefone')}" />
                        
                            <g:sortableColumn property="matricula" title="${message(code: 'secretario.matricula.label', default: 'Matricula')}" />
                        
                            <g:sortableColumn property="CPF" title="${message(code: 'secretario.CPF.label', default: 'CPF')}" />
                        
			</tr>
		</thead>
		<tbody>
			<g:each in="${secretarioInstanceList}" status="i" var="secretarioInstance">
				<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
					
                            <td><g:link action="show" id="${secretarioInstance.id}">${fieldValue(bean: secretarioInstance, field: "id")}</g:link></td>
                        
                            <td>${fieldValue(bean: secretarioInstance, field: "username")}</td>
                        
                            <td>${fieldValue(bean: secretarioInstance, field: "nome")}</td>
                        
                            <td>${fieldValue(bean: secretarioInstance, field: "telefone")}</td>
                        
                            <td>${fieldValue(bean: secretarioInstance, field: "matricula")}</td>
                        
                            <td>${fieldValue(bean: secretarioInstance, field: "CPF")}</td>
                        
				</tr>
			</g:each>
		</tbody>
	</table>
	<div class="paginateButtons">
		<g:paginate total="${secretarioInstanceTotal}" />
	</div>
</body>
</html>
